package br.com.dao.util;

import java.util.Collection;
import java.util.LinkedList;

public interface GenericDao<T> {    
    public void save (T obj);
    public void delete (T obj);
    public Collection<T> list ();
    public LinkedList<T> listar();
    public T findById (Integer id);
    public T getObjectById(Integer id);
    public LinkedList<T> getObjectByName(String name);
}
